package com.feiyuan.core.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("sys_quartz_job_log")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="quartzLogJob对象", description="任务调度日志信息")
public class SysQuartzJobLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private Long jobId;
    private String beanName;
    private String params;
    private Integer status;
    private String error;
    private Integer times;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}
